	function add_feed(e){
		e.preventDefault();
		data = '&article_id=' + jQuery(e.target.parentNode.parentNode).attr('title') + '&doc_id=' + jQuery(e.target).closest("td").children("select.add_feed_doc_id").val();
		jQuery.post("../assets/plugins/dataFrolic/add_feed.php", data, function(resp){
			data = eval('(' + resp + ')');
			if (data.status == "200"){
				
				jQuery(e.target.parentNode).html(data.tdData);
			}else{
				jQuery(e.target).text("error (see log)");	
			}
		});
		cancelProp(e);
		return false;
	}
	
	function remove_feed(e, article_id, doc_id){
		e.preventDefault();
			data = '&article_id=' + article_id + '&doc_id=' + doc_id;
		jQuery.post("../assets/plugins/dataFrolic/remove_feed.php", data, function(resp){
			data = eval('(' + resp + ')');
			
			if (data.status == "200"){
				jQuery(e.target.parentNode).html(data.tdData);
			}else{
				jQuery(e.target).text("error (see log)");	
			}
		});
		cancelProp(e);
		return false;
	}
	

function cancelProp(e){
	var ev = e || window.event;
	ev.cancelBubble = true;
	if (ev.stopPropagation) ev.stopPropagation();
	
	return false;
	
}